Tuesday, April 23, 2024

Researchers develop automated approach to extract security policies from software

Researchers develop automated approach to extract security policies from software

JANUARY 31, 2022 — A team of UTSA researchers is exploring how a new automated approach could prevent software security vulnerabilities.

The team — made up of Ram Krishnan, associate professor in the UTSA Department of Electrical and Computer Engineering; Yufei Huang, professor in Electrical and Computer Engineering; Jianwei Niu, professor in Computer Science; Ravi Sandhu, professor and Lutcher Brown Distinguished Chair in Cyber Security; and John Heaps, a postdoctoral researcher in the UTSA Institute for Cyber Security — sought to develop a deep learning model that could teach software how to extract security policies automatically.

Unlike traditional software models, the agile software development process is meant to produce software at a faster pace, eliminating the need to spend time on comprehensive documents and changing software requirements. User stories, the specifications that define the software’s requirements, are the only required documentation. However, the practices innate to this process, such as constant changes in code, limit the ability to conduct security assurance reviews.


“We plan to extend our approach to make it interactive with stakeholders so that they can help refine the access control information.”



“The basic idea of addressing this disconnect between security policies and agile software development came from happenstance conversation with software leaders in the industry,” Krishnan said. “We were able to assemble a team of faculty and students with expertise in cybersecurity, software engineering and machine learning to start investigating this problem and develop a practical solution.”

The researchers looked at different machine learning approaches before settling on a deep learning approach, which can handle several formats of user stories. The model consists of three pieces to perform the prediction: access control classifications, named entity recognition and access type classification. Access control classification helps the software decide if user stories contain access control information. Named entity identifies the actors and data objects in the story. The access type classification determines the relationship between the two.

The team took a data set of 21 web applications, each consisting of 50-130 user stories or 1,600 total, to test their approach.

“With a dataset of 1,600 user stories, we developed a learning model based on transformers, a powerful machine learning technique,” Krishnan said. “We were able to extract security policies with good accuracy and visualize the results to help stakeholders better refine user stories and maintain an overview of the system’s access control.”

This innovative new approach will serve as a valuable tool in the modern agile software development life cycle, Krishnan said.

“Since agile software development focuses on incremental changes to code, a manual process of extracting security policies would be error-prone and burdensome,” he added. “This is yet another area where machine learning/artificial intelligence shows to be a powerful approach.”

Krishnan said the team still has several directions they would like to take the project. 

“We recognize that there is little additional information about access control that can be extracted or determined directly from user stories in a fully automated approach,” Krishnan said. “That means it is difficult, or impossible, to determine a software’s exact access control from user stories without human involvement. We plan to extend our approach to make it interactive with stakeholders so that they can help refine the access control information.”


EXPLORE FURTHER
Read more about the UTSA Institute for Cyber Security.

For more than 20 years, UTSA has been growing its capacities and expanding its expertise in cyber, cloud, computing and analytics. Today, the university is home to the nation’s leading academic program in cybersecurity, where more than 70 researchers specialize in a variety of disciplines spanning computer science, computer engineering, and information assurance and security.

UTSA is the only Hispanic Serving Institution with three National Center of Excellence designations from the National Security Agency and U.S. Department of Homeland Security and, in December, was designated a Carnegie R1 research institution.

Valerie Bustamante Johnson



UTSA Today is produced by University Strategic Communications,
the official news source
of The University of Texas at San Antonio.

Send your feedback to news@utsa.edu.


UTSA Today is produced by University Communications and Marketing, the official news source of The University of Texas at San Antonio. Send your feedback to news@utsa.edu. Keep up-to-date on UTSA news by visiting UTSA Today. Connect with UTSA online at Facebook, Twitter, Youtube and Instagram.


Events


Spotlight

Spotlight

dtc-utsa-sign_680.png
University of Texas at San Antonio receives ‘transformational’ $40M gift

UTSA’s Mission

The University of Texas at San Antonio is dedicated to the advancement of knowledge through research and discovery, teaching and learning, community engagement and public service. As an institution of access and excellence, UTSA embraces multicultural traditions and serves as a center for intellectual and creative resources as well as a catalyst for socioeconomic development and the commercialization of intellectual property - for Texas, the nation and the world.

UTSA’s Vision

To be a premier public research university, providing access to educational excellence and preparing citizen leaders for the global environment.

UTSA’s Core Values

We encourage an environment of dialogue and discovery, where integrity, excellence, inclusiveness, respect, collaboration and innovation are fostered.

UTSA’S Destinations

UTSA is a proud Hispanic Serving Institution (HSI) as designated by the U.S. Department of Education .

Our Commitment to Inclusivity

The University of Texas at San Antonio, a Hispanic Serving Institution situated in a global city that has been a crossroads of peoples and cultures for centuries, values diversity and inclusion in all aspects of university life. As an institution expressly founded to advance the education of Mexican Americans and other underserved communities, our university is committed to promoting access for all. UTSA, a premier public research university, fosters academic excellence through a community of dialogue, discovery and innovation that embraces the uniqueness of each voice.